<?php
/*
# ------------------------------------------------------------------------
# JA Job Board Package
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
  defined('_JEXEC') or die('Retricted Access');
  
  JHTML::_('behavior.tooltip');
?>

<form name="adminForm" action="index.php" method="post">
    <table width="100%">
		<tr>
		
		<td width="80%" valign="top">
			<div style="width:100%;">
				<fieldset>
					<legend><?php if($this->item->id) echo JText::_('Edit Fields List'); else echo JText::_('Add Fields List');?></legend>
			        <?php
			        if(!$this->available){
			            echo JText::_("No more available column");
			        } else {
			        ?>
			        <table class="admintable">
						<tr>
							<td class="key"><?php echo JText::_("Column"); ?></td>
							<td><?php echo $this->lists["column"]; ?></td>
						</tr>
			        	<tr>
							<td class="key"><?php echo JText::_("Order"); ?></td>
							<td>
								<?php echo $this->lists["ordering"]; ?>
							</td>
						</tr>
			        	<tr>
							<td class="key"><?php echo JText::_("Linked"); ?>?</td>
							<td>
								<?php echo $this->lists["linked"]; ?>
								- <?php echo JText::_("Link to view full record"); ?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Admin Only"); ?>?</td>
							<td>
								<?php echo $this->lists["admin_only"]; ?>
								- <?php echo JText::_("Show only in admin list"); ?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Clean Format"); ?>?</td>
							<td>
								<?php echo $this->lists["clean_format"]; ?>
								- <?php echo JText::_("Clean Format HTML Tag"); ?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Bold option"); ?>?</td>
							<td>
								<?php echo $this->lists["is_bold"]; ?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Sortable mode"); ?>?</td>
							<td>
								<?php echo $this->lists["is_sortable"]; ?>
								- <?php echo JText::_("User can sort the column by clicking title of the column"); ?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Wrap text option"); ?>?</td>
							<td>
								<?php echo $this->lists["no_wrap"]; ?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Truncate (cut) to"); ?></td>
							<td>
								<input type="text" name="truncate_length" size="5" maxlength="5" value="<?php echo $this->item->truncate_length; ?>">
								<?php echo JText::_('characters (0 - do not truncate)')?>
							</td>
						</tr>
						<tr>
							<td class="key"><?php echo JText::_("Column Width"); ?></td>
							<td>
								<input type="text" name="field_width" size="5" maxlength="5" value="<?php echo $this->item->field_width; ?>">%
							</td>
						</tr>
			            <!--<tr>
			                <td class="key"><?php echo JText::_("Viewable By"); ?></td>
			                <td>
			                    <?php echo $this->lists['usertype']; ?>
			                </td>
			            </tr>-->
					</table>
			        <?php
			        }
			        ?>	
			    </fieldset>    
			</div>
		</td>
	</tr>
	</table>
	<input type="hidden" name="option" value="<?php echo $this->option; ?>" />
	<input type="hidden" name="view" value="jafieldlist" />
	<input type="hidden" name="cid[]" value="<?php echo $this->item->id; ?>" />
	<input type="hidden" name="task" value="" />
	<input type="hidden" name="boxchecked" value="1" />
	<?php 
    echo JHTML::_( 'form.token' ); 
    ?>	
 </form>
